import java.util.LinkedHashMap;
import java.io.PrintWriter;
import antlr.collections.AST;

class Sim2dFunction extends Sim2dDataType {

    public Sim2dFunction( String inname ) {
		  super(inname);
    }

    public String typename() {
        return "function";
    }

	 public Sim2dDataType execute(Sim2dSymbolTable symt, Sim2dDataType[] args)
     throws antlr.RecognitionException	{
		  throw new Sim2dException("Function " + name + " body undefined");
	 }

	 public String toString() {
		 String str = typename() + " " + name;
		 return str;
	 }
}
